Add NUL-termination to some uses of strncpy.
authorJim Meyering <meyering@redhat.com>
Wed, 2 May 2012 10:12:13 +0000 (18:12 +0800)
committerChong Yidong <cyd@gnu.org>
Wed, 2 May 2012 10:12:13 +0000 (18:12 +0800)
commit42a415a7446131397690b29126203cc54f34bce4
tree3e98b5630c8d524cca99efd13f743eb0244bd94c
parent3c349c3fa70cea927e24da42304686fe0b8e0bfe
Add NUL-termination to some uses of strncpy.

* lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
NUL-terminate the error buffer.

* src/w32font.c (fill_in_logfont): NUL-terminate a string (Bug#11372).
lib-src/ChangeLog
lib-src/pop.c
src/ChangeLog
src/w32font.c